package com.msa.msaportal.entity;

import java.io.Serializable;

public class PortletEntity implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer portletId;
	@Override
	public String toString() {
		return "PortletEntity [portletId=" + portletId + ", portletCode="
				+ portletCode + ", portletName=" + portletName
				+ ", portletdesc=" + portletdesc + ", pagerow=" + pagerow
				+ ", portletorder=" + portletorder + ", portletview="
				+ portletview + ", portalPage=" + portalPage + ", portalRole="
				+ portalRole + "]";
	}
	private String portletCode;
	private String portletName;
	private String portletdesc;
	private Integer pagerow;
	private Integer portletorder;
	private String portletview;
	
	//many to one
	private PortalPage portalPage;
	
	private java.util.Set<PortalRole> portalRole;
	
	
	
	public PortalPage getPortalPage() {
		return portalPage;
	}
	public void setPortalPage(PortalPage portalPage) {
		this.portalPage = portalPage;
	}
	public Integer getPortletId() {
		return portletId;
	}
	public void setPortletId(Integer portletId) {
		this.portletId = portletId;
	}
	public String getPortletCode() {
		return portletCode;
	}
	public void setPortletCode(String portletCode) {
		this.portletCode = portletCode;
	}
	public String getPortletName() {
		return portletName;
	}
	public void setPortletName(String portletName) {
		this.portletName = portletName;
	}
	public String getPortletdesc() {
		return portletdesc;
	}
	public void setPortletdesc(String portletdesc) {
		this.portletdesc = portletdesc;
	}
	public Integer getPagerow() {
		return pagerow;
	}
	public void setPagerow(Integer pagerow) {
		this.pagerow = pagerow;
	}
	public Integer getPortletorder() {
		return portletorder;
	}
	public void setPortletorder(Integer portletorder) {
		this.portletorder = portletorder;
	}
	public String getPortletview() {
		return portletview;
	}
	public void setPortletview(String portletview) {
		this.portletview = portletview;
	}
	public java.util.Set<PortalRole> getPortalRole() {
		return portalRole;
	}
	public void setPortalRole(java.util.Set<PortalRole> portalRole) {
		this.portalRole = portalRole;
	}
	
	

}
